#!/bin/bash

# python3 generate_include_dependency_mmd.py -dir /home/plus/Downloads/bash-4.2               -base /home/plus/Downloads/bash-4.2 -output /home/plus/cmg_back/cmg/scripts/others/base
# python3 generate_include_dependency_mmd.py -dir /home/plus/Downloads/bash-4.2/builtins      -base /home/plus/Downloads/bash-4.2 -output /home/plus/cmg_back/cmg/scripts/others/base_builtins
# python3 generate_include_dependency_mmd.py -dir /home/plus/Downloads/bash-4.2/lib/glob      -base /home/plus/Downloads/bash-4.2 -output /home/plus/cmg_back/cmg/scripts/others/base_lib_glob
# python3 generate_include_dependency_mmd.py -dir /home/plus/Downloads/bash-4.2/lib/intl      -base /home/plus/Downloads/bash-4.2 -output /home/plus/cmg_back/cmg/scripts/others/base_lib_intl
# python3 generate_include_dependency_mmd.py -dir /home/plus/Downloads/bash-4.2/lib/malloc    -base /home/plus/Downloads/bash-4.2 -output /home/plus/cmg_back/cmg/scripts/others/base_lib_malloc
# python3 generate_include_dependency_mmd.py -dir /home/plus/Downloads/bash-4.2/lib/readline  -base /home/plus/Downloads/bash-4.2 -output /home/plus/cmg_back/cmg/scripts/others/base_lib_readline
# python3 generate_include_dependency_mmd.py -dir /home/plus/Downloads/bash-4.2/lib/termcap   -base /home/plus/Downloads/bash-4.2 -output /home/plus/cmg_back/cmg/scripts/others/base_lib_termcap
# python3 generate_include_dependency_mmd.py -dir /home/plus/Downloads/bash-4.2/support       -base /home/plus/Downloads/bash-4.2 -output /home/plus/cmg_back/cmg/scripts/others/base_support

python3 extract.py -s /home/plus/Downloads/bash-4.2 -r base                 >> cmg_include_mmd.rsf
python3 extract.py -s /home/plus/Downloads/bash-4.2 -r base_builtins        >> cmg_include_mmd.rsf
python3 extract.py -s /home/plus/Downloads/bash-4.2 -r base_lib_glob        >> cmg_include_mmd.rsf
python3 extract.py -s /home/plus/Downloads/bash-4.2 -r base_lib_intl        >> cmg_include_mmd.rsf
python3 extract.py -s /home/plus/Downloads/bash-4.2 -r base_lib_malloc      >> cmg_include_mmd.rsf
python3 extract.py -s /home/plus/Downloads/bash-4.2 -r base_lib_readline    >> cmg_include_mmd.rsf
python3 extract.py -s /home/plus/Downloads/bash-4.2 -r base_lib_termcap     >> cmg_include_mmd.rsf
python3 extract.py -s /home/plus/Downloads/bash-4.2 -r base_support         >> cmg_include_mmd.rsf